<#if copyLayer>
	<assign dialog_title="Copy Layers">
	<assign label="Layers to Copy">
	<img src=images/button_sort_layer.png save=sortLayer>
<#elseif copyCaption>
	<assign dialog_title="Copy Captions">	
	<assign label="Captions to Copy">
	<img src=images/button_sort_caption.png save=sortLayer>
<#endif>

<+b_dialog dw=990  dialog_space=1 dialog_nogroup=1>

<img src=images/button_select_all.png save=selectAll>
<img src=images/button_select_none.png save=selectNone>
<img src=images/button_expand.png save=expand>
<img src=images/button_collapse.png save=collapse>
<img src=images/button_sort_slide.png save=sortSlide>

<assign bw1=456>
<table>
<tr>
	<td width=#bw1+2>
		<font size=+1>Copy From</font><br>
		<img height=#ds><br>
		<input type=custom name=source width=#bw1 height=555><br>
		<img width=#bw1 height=1 bgcolor=#colorFrame><br>
		<table>
		<tr>
			<td width=#ds bgcolor=#colorToolbar></td>
			<td width=#bw1-200 bgcolor=#colorToolbar>
				<img height=#ds><br>
				<input type=button name=selectAllSrc toolbar=1 width=60 height=20 xpar=#selectAll grayxpar=#selectAll img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar   nofade=1 alt="Select all" ascent=20>
				<input type=button name=selectNoneSrc toolbar=1 width=60 height=20 xpar=#selectNone grayxpar=#selectNone img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar   nofade=1 alt="Select none" ascent=20>
				<img width=#ds>
				<input type=button name=expandAllSrc toolbar=1 width=60 height=20 xpar=#expand grayxpar=#expand img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Expand all" ascent=20>
				<input type=button name=collapseAllSrc toolbar=1 width=60 height=20 xpar=#collapse grayxpar=#collapse img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar   nofade=1 alt="Collapse none" ascent=20>
				<br><img height=#ds>
			</td>
			<td width=64 align=right bgcolor=#colorToolbar>
				<img height=#ds><br>
				<img height=3><br><font color=#colorIcon>Group by:</font>
				<br><img height=#ds>
			</td>
			<td width=120 align=right bgcolor=#colorToolbar>
				<img height=#ds><br>
				<input type=button name=orderSlideSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortSlide xparToggle=#sortSlide grayxpar=#sortSlide img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar  nofade=1 alt="Thumbnail list view" ascent=20>
				<#if copyLayer>
					<input type=button name=orderLayerSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortLayer xparToggle=#sortLayer  grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar  nofade=1 alt="Simple list view" ascent=20>
				<#else>
					<input type=button name=orderCaptionSrc:b toggle=1 toolbar=1 width=60 height=20 xpar=#sortLayer xparToggle=#sortLayer  grayxpar=#sortLayer img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey imgToggle=#fake toggleColor=#colorSelection bgcolor=#colorToolbar   nofade=1 alt="Simple list view" ascent=20>
				<#endif>
				<br><img height=#ds>
			</td>
			<td width=#ds bgcolor=#colorToolbar></td>
		</tr>
		</table>
	</td>
	<td width=50 bgcolor=#colorDialog>
	
	
		<img src=images/copy_arrow.png save=arrowx>
		<img width=25 height=25 bgcolor=#colorDialog save=arrow>
		<img width=25 height=25 bgcolor=#colorDialogText save=arrowFill>
		<img src=#arrow i_compsrc=#arrowFill i_compxpar=#arrowx save=arrow>
		<img width=1 height=260><br>
		<center>
		<img src=#arrow>
		</center>
	</td>
	<td width=#bw1+2>
		<font size=+1>To Slides</font><br>
		<img height=#ds><br>
			<input type=custom name=destination width=#bw1 height=555><br>
			<img width=#bw1 height=1 bgcolor=#colorFrame><br>
			<table>
			<tr>
				<td width=#bw1 align=right bgcolor=#colorToolbar>
					<img height=#ds><br>
					<input type=button name=selectAll toolbar=1 width=60 height=20 xpar=#selectAll grayxpar=#selectAll img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar   nofade=1 alt="Select all" ascent=20>
					<input type=button name=selectNone toolbar=1 width=60 height=20 xpar=#selectNone grayxpar=#selectNone img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Select none" ascent=20>
					<img width=#ds><br>
					<img height=#ds>
				</td>
			</tr>
			</table>
	</td>
</table>

<+d_dialog>
		<input type=button name=copy value="Copy" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
		<img width=#ds>
		<input type=button name=ok value="Copy && Close" width=#dbw height=#dbh>
		<img width=#ds>
		<input type=button name=cancel value="Close" width=#dbw height=#dbh>
<+e_dialog>	
				
